package com.black.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.black.system.domain.SysLogininfor;
import com.black.system.domain.req.monitor.query.SysLoginInforQueryReq;
import com.black.system.domain.resp.monitor.SysLoginInforResp;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author L
 * @description 针对表【sys_logininfor(系统访问记录)】的数据库操作Service
 * @createDate 2024-08-19 10:07:23
 */
public interface SysLogininforService extends IService<SysLogininfor> {

    PageInfo<SysLoginInforResp> paginationQuery(SysLoginInforQueryReq req);

    /**
     * 批量删除
     *
     * @param ids
     * @return
     */
    boolean deleteById(Long[] ids);

    /**
     * 导出
     *
     * @param req
     * @param ids
     * @return
     */
    List<SysLoginInforResp> export(SysLoginInforQueryReq req, Long[] ids);
}
